/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.osgc.rf.unit.dao;

import com.inca.np.gui.control.DBTableModel;

/**
 * 
 * @author fxt
 */
public class PosInfo {
	public PosInfo() {
	}

	private String posid;
	private String posno;
	private String sectionid;
	private String sectionno;
	private String sectionname;
	private String areaid;
	private String areaflag;
	private String areaname;
	private String areano;
	private String pickareaid;
	private String pickareano;
	private String picareaname;
	private String pickflowid;
	private String pickflowno;
	private String pickflowname;
	private String influxflag;
	private String memo;
	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	String sorttype;
	// public PosInfo(DBTableModel db, int row) {
	// setAreaid(db.getItemValue(row, "areaid"));
	// setAreaname(db.getItemValue(row, "areaname"));
	// setAreano(db.getItemValue(row, "areano"));
	// setSectionid(db.getItemValue(row, "sectionid"));
	// setSectionno(db.getItemValue(row, "sectionno"));
	// setSectionname(db.getItemValue(row, "sectionname"));
	// setPosid(db.getItemValue(row, "posid"));
	// setPosno(db.getItemValue(row, "posno"));
	// setPickareaid(db.getItemValue(row, "pickareaid"));
	// setPickareano(db.getItemValue(row, "pickareano"));
	// setPicareaname(db.getItemValue(row, "picareaname"));
	// setPickflowid(db.getItemValue(row, "pickflowid"));
	// setPickflowno(db.getItemValue(row, "pickflowno"));
	// setPickflowname(db.getItemValue(row, "pickflowname"));
	// setInfluxflag(db.getItemValue(row, "influxflag"));
	// setAreaflag(db.getItemValue(row, "areaflag"));
	// }
	public PosInfo(DBTableModel db, int row) {
		setAreaid(db.getItemValue(row, "areaid"));
		setAreaname(db.getItemValue(row, "areaname"));
		setAreano(db.getItemValue(row, "areano"));
		setSectionid(db.getItemValue(row, "sectionid"));
		setSectionno(db.getItemValue(row, "sectionno"));
		setSectionname(db.getItemValue(row, "sectionname"));
		setPosid(db.getItemValue(row, "posid"));
		setPosno(db.getItemValue(row, "posno"));
		setAreaflag(db.getItemValue(row, "areaflag"));
	}

	public String getAreaflag() {
		return areaflag;
	}

	public void setAreaflag(String areaflag) {
		this.areaflag = areaflag;
	}

	/**
	 * @return the posid
	 */
	public String getPosid() {
		return posid;
	}

	/**
	 * @param posid
	 *            the posid to set
	 */
	public void setPosid(String posid) {
		this.posid = posid;
	}

	/**
	 * @return the posno
	 */
	public String getPosno() {
		return posno;
	}

	/**
	 * @param posno
	 *            the posno to set
	 */
	public void setPosno(String posno) {
		this.posno = posno;
	}

	/**
	 * @return the sectionid
	 */
	public String getSectionid() {
		return sectionid;
	}

	/**
	 * @param sectionid
	 *            the sectionid to set
	 */
	public void setSectionid(String sectionid) {
		this.sectionid = sectionid;
	}

	/**
	 * @return the sectionno
	 */
	public String getSectionno() {
		return sectionno;
	}

	/**
	 * @param sectionno
	 *            the sectionno to set
	 */
	public void setSectionno(String sectionno) {
		this.sectionno = sectionno;
	}

	/**
	 * @return the sectionname
	 */
	public String getSectionname() {
		return sectionname;
	}

	/**
	 * @param sectionname
	 *            the sectionname to set
	 */
	public void setSectionname(String sectionname) {
		this.sectionname = sectionname;
	}

	/**
	 * @return the areaid
	 */
	public String getAreaid() {
		return areaid;
	}

	/**
	 * @param areaid
	 *            the areaid to set
	 */
	public void setAreaid(String areaid) {
		this.areaid = areaid;
	}

	/**
	 * @return the areaname
	 */
	public String getAreaname() {
		return areaname;
	}

	/**
	 * @param areaname
	 *            the areaname to set
	 */
	public void setAreaname(String areaname) {
		this.areaname = areaname;
	}

	/**
	 * @return the areano
	 */
	public String getAreano() {
		return areano;
	}

	/**
	 * @param areano
	 *            the areano to set
	 */
	public void setAreano(String areano) {
		this.areano = areano;
	}

	public String getPickareaid() {
		return pickareaid;
	}

	public void setPickareaid(String pickareaid) {
		this.pickareaid = pickareaid;
	}

	public String getPickareano() {
		return pickareano;
	}

	public void setPickareano(String pickareano) {
		this.pickareano = pickareano;
	}

	public String getPicareaname() {
		return picareaname;
	}

	public void setPicareaname(String picareaname) {
		this.picareaname = picareaname;
	}

	public String getPickflowid() {
		return pickflowid;
	}

	public void setPickflowid(String pickflowid) {
		this.pickflowid = pickflowid;
	}

	public String getPickflowno() {
		return pickflowno;
	}

	public void setPickflowno(String pickflowno) {
		this.pickflowno = pickflowno;
	}

	public String getPickflowname() {
		return pickflowname;
	}

	public void setPickflowname(String pickflowname) {
		this.pickflowname = pickflowname;
	}

	public String getInfluxflag() {
		return influxflag;
	}

	public void setInfluxflag(String influxflag) {
		this.influxflag = influxflag;
	}

	public void setSorttype(String sorttype) {
		this.sorttype = sorttype;
		
	}

	public String getSorttype() {
		return sorttype;
	}
}
